#ifndef ALARM_H
#define ALARM_H

#include "common/BaseObject.h"

class Alarm : public BaseObject
{
public:
    Alarm();
    virtual  ~Alarm();

    QString GetLevelID() const {return m_sLevelID;}
    void SetLevelID(QString sValue) {m_sLevelID = sValue;}

    QString GetAlarmTime() const {return m_sAlarmTime;}
    void SetAlarmTime(QString sValue) {m_sAlarmTime = sValue;}

    unsigned int GetDeviceID() const {return m_uiDeviceID;}
    void SetDeviceID(unsigned int uiValue) {m_uiDeviceID = uiValue;}

    QString GetDeviceName() const {return m_sDeviceName;}
    void SetDeviceName(QString sValue) {m_sDeviceName = sValue;}

    QString GetCorpID() const {return m_sCorpID;}
    void SetCorpID(QString sValue) {m_sCorpID = sValue;}

    QString GetPlatformCode() const {return m_sPlatformCode;}
    void SetPlatformCode(QString sValue) {m_sPlatformCode = sValue;}

    unsigned int GetTypeID() const {return m_uiTypeID;}
    void SetTypeID(unsigned int uiValue){m_uiTypeID = uiValue;}

    unsigned int GetSubTypeID() const {return m_uiSubTypeID;}
    void SetSubTypeID(unsigned int uiValue){m_uiSubTypeID = uiValue;}

    unsigned int GetStatus() const {return m_uiStatus;}
    void SetStatus(unsigned int uiValue){m_uiStatus = uiValue;}

    QString GetConfirmTime() const {return m_sConfirmTime;}
    void SetConfirmTime(QString sValue) {m_sConfirmTime = sValue;}

    unsigned int GetRepeat() const {return m_uiRepeat;}
    void SetRepeat(unsigned int uiValue){m_uiRepeat = uiValue;}

    QString GetContent() const {return m_sContent;}
    void SetContent(QString sValue) {m_sContent = sValue;}

    QString GetUser() const {return m_sUser;}
    void SetUser(QString sValue) {m_sUser = sValue;}

    QString GetDate() const {return m_sDate;}
    void SetDate(QString sValue) {m_sDate = sValue;}

    QString GetTransfContent() const {return m_sTransfContent;}
    void SetTransfContent(QString sValue) {m_sTransfContent = sValue;}

    QString GetBeginTime() const {return m_sBeginTime;}
    void SetBeginTime(QString sValue) {m_sBeginTime = sValue;}

    QString GetSourceIP() const {return m_sSourceIP;}
    void SetSourceIP(QString sValue) {m_sSourceIP = sValue;}

    unsigned int GetSourcePort() const {return m_uiSourcePort;}
    void SetSourcePort(unsigned int uiValue){m_uiSourcePort = uiValue;}

    QString GetDstIP() const {return m_sDstIP;}
    void SetDstIP(QString sValue) {m_sDstIP = sValue;}

    unsigned int GetDstPort() const {return m_uiDstPort;}
    void SetDstPort(unsigned int uiValue){m_uiDstPort = uiValue;}

    QString GetCurIP() const {return m_sCurIP;}
    void SetCurIP(QString sValue) {m_sCurIP = sValue;}
private:

    QString         m_sLevelID;
    QString         m_sAlarmTime;
    unsigned int    m_uiDeviceID;
    QString         m_sDeviceName;
    QString         m_sCorpID;
    QString         m_sPlatformCode;
    unsigned int    m_uiTypeID;
    unsigned int    m_uiSubTypeID;
    unsigned int    m_uiStatus;
    QString         m_sConfirmTime;
    unsigned int    m_uiRepeat;
    QString         m_sContent;
    QString         m_sUser;
    QString         m_sDate;
    QString         m_sTransfContent;
    QString         m_sBeginTime;
    QString         m_sSourceIP;
    unsigned int    m_uiSourcePort;
    QString         m_sDstIP;
    unsigned int    m_uiDstPort;
    QString         m_sCurIP;
};

#endif // ALARM_H
